package com.ctshk.rpc.order.bus.req;

import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("B2C创建巴士订单req")
public class BusOrderCreateB2CReq extends BusOrderCreateBaseReq {
	private static final long serialVersionUID = 1L;

	@Valid
    @NotEmpty(message = "旅客列表不能为空")
    @ApiModelProperty(value = "旅客列表")
    private List<BusOrderTouristReq> busOrderTouristReqList;
	
	@NotNull(message = "渠道ID不能为空")
    @ApiModelProperty("渠道ID")
	private Long channelId;
	
	/**
     * @see com.ctshk.common.enums.OrderSource
     */
    @ApiModelProperty("订单来源")
    private Integer orderSource;
}
